package com.wkq.main.ui

import android.Manifest
import android.content.Context
import android.content.Intent
import android.util.Log
import android.widget.Toast
import com.wkq.base.activity.BasicVbActivity
import com.wkq.main.databinding.ActivityMainBinding
import com.wkq.main.ui.kotlin.BatteryOptimizationUtil
import com.wkq.main.ui.kotlin.KotlinActivity
import com.wkq.util.NativeLocationHelper
import com.wkq.util.setSafeClickListener

/**
 *
 *@Author: wkq
 *
 *@Time: 2025/8/25 9:22
 *
 *@Desc:
 */
class MainActivity: BasicVbActivity<ActivityMainBinding>() {

    companion object{
      fun  startActivity(context: Context){
          context.startActivity(Intent(context,MainActivity::class.java))
        }
    }
    override fun initView() {

        binding.btKotlin.setSafeClickListener {
            KotlinActivity.startActivity(this)
        }
        binding.btLocation.setSafeClickListener {
            LocationActivity.startActivity(this)
        }

    }

    override fun initData() {

    }


}